const path = require('path');
const root = path.resolve(__dirname, '..');

module.exports = {
    modules: path.join(root, './src/modules'),
    components: path.join(root, './src/components'),
    views: path.join(root, './src/views'),
    less_base: path.join(root, './src/main/css'),
    '@wpt': path.join(root, './src/@wpt'),
    '@packages': path.join(root, './packages'),
    '@shared': path.join(root, './src/shared'),
    '@': path.join(root, './src/'),
    publicPath: path.join(root, './src/main/publichPath.js'),
    wpt: path.join(root, './src/main/wpt'),
    react: path.dirname(require.resolve('react/package.json')),
    wptd: 'wpt-design',
    // 跨端应用
    '@app-wpt': path.join(root, 'app-wpt/src'),
    '@app-weipaitang': path.join(root, 'app-weipaitang/src'),
};
